/* eslint-disable */

import React from 'react';
import { Svg, Path } from 'react-native-svg';
import { getIconColor } from './helper';

let IconGold = ({ size, color, ...rest }) => {
  return (
    <Svg viewBox="0 0 1024 1024" width={size} height={size} {...rest}>
      <Path
        d="M422.62 377.043c116.929 0 238.463-25.715 311.434-74.677v89.236h67.604v-195.475c0-117.512-195.29-180.925-379.037-180.925s-379.037 63.413-379.037 180.925v533.291c0 117.512 195.29 180.916 379.037 180.916v-67.604c-192.958 0-311.434-65.999-311.434-113.313v-160.397c72.978 48.962 194.504 74.677 311.434 74.677v-67.604c-192.958 0-311.434-66.007-311.434-113.32v-160.397c72.97 48.953 194.496 74.668 311.434 74.668zM422.62 82.805c192.958 0 311.434 66.007 311.434 113.32s-118.476 113.313-311.434 113.313-311.434-65.999-311.434-113.313 118.476-113.32 311.434-113.32z"
        fill={getIconColor(color, 0, '#333333')}
      />
      <Path
        d="M725.602 413.996c-167.835 0-255.651 64.569-255.651 128.345v342.692c0 63.776 87.818 128.337 255.651 128.337 166.583 0 254.292-63.606 255.593-126.918h0.060v-344.119c0-63.776-87.81-128.337-255.651-128.337zM725.602 481.6c124.068 0 188.049 42.573 188.049 60.743s-63.978 60.743-188.049 60.743-188.049-42.573-188.049-60.743 63.987-60.743 188.049-60.743zM725.602 945.758c-124.068 0-188.049-42.573-188.049-60.743v-81.81c42.894 23.297 105.85 38.804 188.049 38.804s145.154-15.507 188.049-38.804v81.81c0 18.168-63.978 60.743-188.049 60.743zM725.602 774.417c-124.068 0-188.049-42.573-188.049-60.743v-81.81c42.894 23.297 105.85 38.812 188.049 38.812s145.154-15.507 188.049-38.804v81.81c0 18.161-63.978 60.734-188.049 60.734z"
        fill={getIconColor(color, 1, '#333333')}
      />
    </Svg>
  );
};

IconGold.defaultProps = {
  size: 18,
};

IconGold = React.memo ? React.memo(IconGold) : IconGold;

export default IconGold;
